home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15802 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: essex.UCHSC.edu!mcclured
  2. From: David McClure <mcclured@essex.UCHSC.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: 64K segment limit:Newbie seeks enlightenment
  5. Date: Sun, 7 Apr 1996 23:24:38 -0600
  6. Organization: University of Colorado, Health Sciences Center
  7. Message-ID: <Pine.ULT.3.91.960407231001.3447A-100000@essex.UCHSC.edu>
  8. NNTP-Posting-Host: essex.uchsc.edu
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11.  
  12. We're coding a computer sim in BC4.52 of human anatomy for and are
  13. concerned about the 64K segment limit with 3D arrays 
  14. that are upto several megabytes in size.
  15.  
  16. Could anyone expound on the 64K segment limit in win3.1. My limited 
  17. understanding of it is 64K = segment length = local heap size+ stack heap +
  18. static data + 16 byte header.  Is this why arrays are limited to < 64K?
  19. We want to use upto 4 or 8 meg total 3D arrays (they simulate human anatomy).
  20. Right now we use triple pointers.  But how is this large array data 
  21. accessed when the limit is 64K ? Also what is the limit for win3.51? 
  22. I don't think we can use the huge memory model because that's only for 
  23. DOS apps.
  24.  
  25.  
  26. *****************************
  27. *  David.McClure@UCHSC.edu  *
  28. *****************************
  29.  
  30.